/**
 * Copyright (C) 2018-2022
 * All rights reserved, Designed By www.yixiang.co
 * 注意：
 * 本软件为www.yixiang.co开发研制
 */
package com.pxmeta.user.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class AuthUserDTO {

    @NotBlank
    @ApiModelProperty("用户名")
    private String phone;

    @ApiModelProperty("短信验证码")
    private String code;


    @Override
    public String toString() {
        return "{username=" + phone + ", password= ******}";
    }
}
